package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_user_forms",autoResultMap = true)
@Document(indexName = "t_user_forms")
public class UserFormsDO extends  BaseDO{
    @Field(name = "username", type = FieldType.Text, analyzer="ik_max_word")
    private  String username;
    @Field(name = "table_url", type = FieldType.Text, analyzer="ik_max_word")
    private  String tableUrl;
    @Field(name = "form_number", type = FieldType.Text, analyzer="ik_max_word")
    private  String formNumber;
    @Field(name = "is_fill", type = FieldType.Text, analyzer="ik_max_word")
    private  Integer isFill;
}
